intermediate tutorial

by: francesco, 7 years ago


when i write : python testing.py --x=5 --y=8 --operation=mul
ita says :

File "<stdin>", line 1
       python testing.py
                               ^
SyntaxError: invalid syntax

why?




You must be logged in to post. Please login or register an account.



Looks like you're writing that into an interactive python session. Instead, type it directly into cmd.exe or your terminal, not in python.

-Harrison 7 years ago

You must be logged in to post. Please login or register an account.


in cmd worked fine, problem solved, thanks

-francesco 7 years ago

You must be logged in to post. Please login or register an account.